package June;

public class DAY0605 {
    public static void main(String[] args) {
        String s1 = "abc"+"def";
        String s2 = new String(s1);
        if (s1.equals(s2)){
            System.out.println(1);
        }
        if (s1 == s2){
            System.out.println(2);
        }
        System.out.println(1+"10"+3+"2");
    }

    private static int switchit(int i) {
        int j =1;
        switch (i){
            case 1:j++;
            case 2:j++;
            case 3:j++;
            case 4:j++;
            case 5:j++;
            default:j++;
        }
        return j+i;
    }
}
